package com.dongdongsop.em;

public enum ResultEnum {

    ERROR(9999,"操作失败"),
    SUCCESS(10000,"操作成功"),
    NO_LOGIN(10001,"未登录"),
    ARGS_FAILE(10002,"参数不正常"),
    LOGIN_ERROR(10003,"账号或密码不正确"),
    NO_EXAMIN(10004,"未审核"),
    VERIFICATIONCODEISINCORRECT(8888,"验证码不存在或不正确"),
    INVALIDVERIFICATIONCODE(8887,"验证码已失效"),
    SALEOVER(8886,"商品已售罄");

    private Integer status;
    private String statusInfo;

    ResultEnum(Integer status, String statusInfo) {
        this.status = status;
        this.statusInfo = statusInfo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusInfo() {
        return statusInfo;
    }

    public void setStatusInfo(String statusInfo) {
        this.statusInfo = statusInfo;
    }
}
